<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<h1 id="app">hello {{name}}</h1>
<div id="app1">
    <input type="text" v-model="num">
    <button v-on:click="num++">qq</button><h2>{{name}}的点击{{num}}</h2>
</div>


<script type="text/javascript">
    var app = new Vue({
            el:"#app1",
            data:{
                name:"itheima",
                age:1,
                num:0
            },
        el:"#app",
        data:{
            name:"itheima",
            age:1,
        }
    })
</script>
</body>
</html>